﻿using Microsoft.AspNetCore.Mvc.Filters;

namespace B.S.BasicData.Api.Read.Filters
{
    public class GlobalExceptionFilter : IExceptionFilter
    {
        public void OnException(ExceptionContext context)
        {
            //使用Nlog日志记录全局异常
            //处理异常
        }
    }
}
